def listSum(numList):
    if len(numList) == 1:
        return numList[0]
    else:
        return numList[0] + listSum(numList[1:])


# print(listSum([1, 3, 5, 7, 9, 2, 4, 6, 8, 10]))


def toStr(n, base):
    convertString = "0123456789ABCDEF"
    if n < base:
        return convertString[n]
    else:
        return toStr(n // base, base) + convertString[n%base]


# print(toStr(1453, 16))


def tell_story():
    print("从前有座山，山里有座庙，庙里有个老和尚，他在讲: ")
    tell_story()


print(tell_story())
